EnablePrimaryMouseButtonEvents(true)

------------------------------------------------------主程序----------------------------------------------
function OnEvent(event, arg)

	-- 见切
    if (event == "MOUSE_BUTTON_PRESSED" and arg == 7) then
		PressMouseButton(3)--点击右键
		PressMouseButton(5)--点击气刃斩
		Sleep(100)
        ReleaseMouseButton(3)--释放右键
		ReleaseMouseButton(5)--释放气刃斩
    end
	
	-- 气刃突刺
	if (event == "MOUSE_BUTTON_PRESSED" and arg == 6) then
		PressMouseButton(1)--点击左键
		PressMouseButton(5)--点击气刃斩
		Sleep(100)
        ReleaseMouseButton(1)--释放左键
		ReleaseMouseButton(5)--释放气刃斩
    end

end